macos: make pasteboard usage reusable
authorChristian Hergert <chergert@redhat.com>
Fri, 18 Jun 2021 00:19:19 +0000 (17:19 -0700)
committerChristian Hergert <chergert@redhat.com>
Fri, 18 Jun 2021 00:19:19 +0000 (17:19 -0700)
commit6c1dce28784d79166e102e117e8ed21f084473f5
tree85761275a25fc1cc89d8d4e29a6f959a6afe388c
parentad1260505deac269671fc97ada1dc63153e529d7
macos: make pasteboard usage reusable

We will want to be able to reuse the pasteboard reading code from
the macOS DnD drop backend. This just removes the pasteboard
bits from the implementation and allows that to be passed in as in
both clipboard and DnD cases we'll have a specific NSPasteboard
to read from.
gdk/macos/gdkmacosclipboard-private.h
gdk/macos/gdkmacosclipboard.c